﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SiteSach.master" AutoEventWireup="true" CodeBehind="DanhMucSach.aspx.cs" Inherits="WebApplication1.DanhMucSach" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainHolder" runat="server">
    <div class="Dock">
        <div style="padding: 2px 0px 2px 10px; font-weight: bold; color: #FFFFFF; float: left; text-align: left" >
            SÁCH MỚI
        </div>
        <div align="right">
            <a href="SachTheoMenu.aspx" ID="Link_sachmoi" runat="server" 
                style="color: #FFFFFF; margin-right: 20px;">Xem tất cả</a>
        </div>                  
    </div>
    <div><asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                <ContentTemplate>
        <asp:DataList ID="dl_sachmoi" runat="server" CellPadding="10" Font-Bold="False" 
            Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
            Font-Underline="False" HorizontalAlign="Center" RepeatColumns="5" 
            RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" 
            Width="715px" style="margin-bottom: 0px" 
            onitemcommand="dl_sachbanchay_ItemCommand">
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
                VerticalAlign="Middle" />
            <ItemTemplate>
                <asp:Image ID="Image2" runat="server" Height="119px" 
                ImageUrl='<%# "~/Handler.ashx?ID="+Eval("mamh") %>' Width="97px"/>
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenMH") %>'></asp:HyperLink>
                <br />
                <asp:Label ID="Label2" runat="server" 
                    Text='<%# Eval("DonGia","{0:0.##} VNĐ") %>'></asp:Label>
                <br />
                <asp:ImageButton ID="Button1" runat="server" CommandArgument='<%# Eval("MaMH") %>' 
                    CommandName="Dat" ImageUrl="~/Image/Chonmua1.jpg" Height="20px" 
                    Width="75px"/>
            </ItemTemplate>
        </asp:DataList>
        </ContentTemplate>
                    </asp:UpdatePanel>
    </div>
    <p></p>
    <div class="Dock">
        <div style="padding: 2px 0px 2px 10px; font-weight: bold; color: #FFFFFF; float: left; text-align: left" >
            SÁCH BÁN CHẠY
        </div>
        <div align="right">
            <a href="SachTheoMenu.aspx" ID="Link_sachbanchay" runat="server" 
                style="margin-right: 20px; color: #FFFFFF;">Xem tất cả</a>
        </div>
    </div>
    <div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
        <asp:DataList ID="dl_sachbanchay" runat="server" CellPadding="10" Font-Bold="False" 
            Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
            Font-Underline="False" HorizontalAlign="Center" RepeatColumns="5" 
            RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" 
            Width="715px" style="margin-bottom: 0px" 
            onitemcommand="dl_sachbanchay_ItemCommand">
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
                VerticalAlign="Middle" />
            <ItemTemplate>
                <asp:Image ID="Image2" runat="server" Height="119px" 
                ImageUrl='<%# "~/Handler.ashx?ID="+Eval("mamh") %>' Width="97px"/>
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("TenMH") %>'></asp:HyperLink>
                <br />
                <asp:Label ID="Label2" runat="server" 
                    Text='<%# Eval("DonGiaLe","{0:0.##} VNĐ") %>'></asp:Label>
                <br />
                <asp:ImageButton ID="Button1" runat="server" CommandArgument='<%# Eval("MaMH") %>' 
                    CommandName="Dat" ImageUrl="~/Image/Chonmua1.jpg" Height="20px" 
                    Width="75px"/>
            </ItemTemplate>
        </asp:DataList>
        </ContentTemplate>
                    </asp:UpdatePanel>
    </div>
    <p></p>
    
    <div>
        <asp:DataList ID="dl_mathangkhac" runat="server" CellPadding="10" Font-Bold="False" 
            Font-Italic="False" Font-Overline="False" Font-Strikeout="False" 
            Font-Underline="False" HorizontalAlign="Center" RepeatColumns="5" 
            RepeatDirection="Horizontal" ShowFooter="False" ShowHeader="False" 
            Width="710px">
            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" 
                Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" 
                VerticalAlign="Middle" />
            <ItemTemplate>
                <asp:Image ID="Image2" runat="server" />
                <br />
                <asp:HyperLink ID="HyperLink1" runat="server">HyperLink</asp:HyperLink>
                <br />
                <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
            </ItemTemplate>
        </asp:DataList>
    </div>
    <p></p>
</asp:Content>
